package com.fawvwebanma.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("traincarriage")
public class TrainCarriage implements Serializable {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String trainNum;
    private String runDate;
    private String carriageNum;
    private Integer carriageType;
}
